package com.ld.wms.business.notice.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ld.wms.business.notice.model.WarnInfoModel;
import com.ld.wms.business.notice.vo.resp.WarnInfoRespVo;
import com.ld.wms.common.vo.GeneratePageListVo;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author wangfeng
 * @since 2025-04-23
 */
public interface WarnInfoService extends IService<WarnInfoModel> {

    GeneratePageListVo<WarnInfoRespVo> getPageList(Integer current, Integer size);

    /**
     * 获取预警信息详情
     * @param id
     * @return
     */
    WarnInfoRespVo getById(Long id);

    /**
     * 预警忽略
     * @param id
     */
    void warnInIgnore(Long id);
}
